package com.henme.crm.util.shiro;

import org.apache.shiro.SecurityUtils;

public class ShiroUtil {
	
	public static boolean hasAnyPermission(String ...permission){
		boolean [] result=SecurityUtils.getSubject().isPermitted(permission);
		for(boolean b:result){
			if(b){
				return true;
			}
		}
		return false;
	}
}
